package edu.hainnu.niit.dao;

import edu.hainnu.niit.model.Product;
import edu.hainnu.niit.model.auction;

import java.util.List;

/**
 * TODO
 *
 * @package_name edu.hainnu.niit.dao
 * @auther GGB
 * @date 2021/12/22
 * @time 10:17
 */
public interface AuctionDao {
    List<auction> queryAuctions(Integer currentPage, Integer pageSize,String sname);
    int queryAuctionTotal(String sname);
    List<auction> queryTypeAuctions(Integer currentPage, Integer pageSize,String type,String sname);
    int queryTypeAuctionTotal(String type,String sname);
    auction queryAuctionByID(Integer id);
}
